#include "stdio.h"
	
	int main()
	{
	int a[10]={1,0,4,8,12,65,-76,100,-45,123};
	int N = 10;
	int i;
	int j;
	int temp;

	for(i=0;i<N-1;i++)
		for(j=0;j<N-1-i;j++)
			if(a[j]>a[j+1])
			{
				temp = a[j];
				a[j] = a[j+1];
				a[j+1] = temp;
			}
	for(i=0;i<N;i++)
		printf("%d ",a[i]);
	printf("\n");
	return 0;
	}
